package com.xiangban.yanglaodajie_admin.dao;

import com.xiangban.yanglaodajie_admin.entity.ClassMaterials;
import com.xiangban.yanglaodajie_admin.entity.ClassOutline;
import com.xiangban.yanglaodajie_admin.entity.ClassProgress;
import com.xiangban.yanglaodajie_admin.entity.Ids;
import com.xiangban.yanglaodajie_admin.entity.dto.ClassMaterialsDto;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author Mr. MaYaYun
 * @Data 2021/7/30 9:31
 */
@Repository
public interface ClassOrAvtivityExpandMapper {

    void deleteClassProgress(Ids ids);
    void updateClassProgress(ClassProgress classProgress);
    void insertClassProgress(ClassProgress classProgress);
    void deleteClassOutline(Ids ids);
    void updateClassOutline(ClassOutline classOutline);
    void insertClassOutline(ClassOutline classOutline);
    void deleteClassMaterials(ClassMaterials classMaterials);
    void updateClassMaterials(ClassMaterialsDto classMaterialsDto);
    void insertClassMaterials(ClassMaterialsDto classMaterialsDto);
    List<ClassProgress> selectClassProgressList(Integer id);
    List<ClassOutline> selectOutlineList(Integer id);
    ClassMaterials selectClassMaterials(Integer id);
}
